const http = require('http');
const url = require('url');
http.createServer((req,res)=>{
    let {query} = url.parse(req.url,true);
    console.log('query',query)
    res.end(`window.${query.cb}({g:['${query.wd}1','${query.wd}2','${query.wd}3']})`);
}).listen(3000);